reading the map